package itsm.isperp.module.entity.wechat;

import java.sql.Timestamp;

import itsm.isperp.framework.domain.IBean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * 
 * 
 * @author lizx
 * @date 2014-5-29
 * @since 1.0
 * 
 */
@Entity
@Table(name = "wechat_chat")
public class WechatChat implements IBean {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Id
	String id;
	@Column
	String sendFrom;
	@Column
	String senderName;
	@Column
	Timestamp sendTime;
	@Column
	String sendContent;
	@Column
	String openid;
	@Column
	String relationId;
	@Column
	String mediaId;
	@Column
	String msgId;
	@Column
	String msgType;
	@Column
	String appUploadFileId;

	@Override
	public String getId() {
		return id;
	}

	@Override
	public void setId(String id) {
		this.id = id;
	}

	public String getSendFrom() {
		return sendFrom;
	}

	public void setSendFrom(String sendFrom) {
		this.sendFrom = sendFrom;
	}

	public String getSenderName() {
		return senderName;
	}

	public void setSenderName(String senderName) {
		this.senderName = senderName;
	}

	public Timestamp getSendTime() {
		return sendTime;
	}

	public void setSendTime(Timestamp sendTime) {
		this.sendTime = sendTime;
	}

	public String getSendContent() {
		return sendContent;
	}

	public void setSendContent(String sendContent) {
		this.sendContent = sendContent;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public String getMediaId() {
		return mediaId;
	}

	public void setMediaId(String mediaId) {
		this.mediaId = mediaId;
	}

	public String getMsgId() {
		return msgId;
	}

	public void setMsgId(String msgId) {
		this.msgId = msgId;
	}

	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	public String getAppUploadFileId() {
		return appUploadFileId;
	}

	public void setAppUploadFileId(String appUploadFileId) {
		this.appUploadFileId = appUploadFileId;
	}

}
